/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

/**
 *
 * @author admin
 */
public class Majalah extends Publikasi {

    private String Issn;
    private final int MAX_LAMA_PINJAM = 7;
    private final int BESAR_DENDA = 5000;

    public Majalah() {
    }

    public boolean isTerlambat(int lamaPinjam) {
        if (lamaPinjam >= getMAX_LAMA_PINJAM()) {
            return true;
        } else {
            return false;
        }

    }

    /**
     * @return the Issn
     */
    public String getIssn() {
        return Issn;
    }

    /**
     * @param Issn the Issn to set
     */
    public void setIssn(String Issn) {
        this.Issn = Issn;
    }

    /**
     * @return the MAX_LAMA_PINJAM
     */
    public int getMAX_LAMA_PINJAM() {
        return MAX_LAMA_PINJAM;
    }

    /**
     * @return the BESAR_DENDA
     */
    public int getBESAR_DENDA() {
        return BESAR_DENDA;
    }
    @Override
    public int HitungDenda(int LamaPinjam) {
        return 0;
    }
}
